package com.ali.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@TableName("cloud_order")
@Data
public class Order {
    //主键，使用雪花算法
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;
    private String orderNo;
    private int status;
}
